package com.erhuogo.entity;

/**
 * 留言信息实体类
 * 
 * @author aibinxiao
 * @date 2016年10月24日 下午6:17:23
 */
public class Message {
	private Integer id;// 留言ID
	private Integer commodityId;// 被留言商品ID
	private Integer writerId;// 留言者ID
	private Integer readerId;// 被留言者ID
	private String time;// 留言时间
	private String content;// 留言内容

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCommodityId() {
		return commodityId;
	}

	public void setCommodityId(Integer commodityId) {
		this.commodityId = commodityId;
	}

	public Integer getWriterId() {
		return writerId;
	}

	public void setWriterId(Integer writerId) {
		this.writerId = writerId;
	}

	public Integer getReaderId() {
		return readerId;
	}

	public void setReaderId(Integer readerId) {
		this.readerId = readerId;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "Message [id=" + id + ", commodityId=" + commodityId + ", writerId=" + writerId + ", readerId="
				+ readerId + ", time=" + time + ", content=" + content + "]";
	}

}
